﻿define(['app'], function (app) {
    app.service('serv', ['$http', function ($http) {
        console.log("serv.js");

        this.getdata = function () {
            console.log("serv.js-getdata方法");

            var resp = $http.get('http://localhost:4011/RequireJSAPI/api/ProductInfoAPI');

            return resp;
        }
    }]);
});